package com.zidongxiangxi.clock.server;

import com.zidongxiangxi.clock.server.config.ClockConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author rocyuan
 */
@SpringBootApplication
@EnableConfigurationProperties(ClockConfig.class)
public class Application {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(Application.class);
        springApplication.setRegisterShutdownHook(false);
        springApplication.run(args);
    }

}
